package jzqb.controller;

import io.swagger.annotations.Api;
import jzqb.bo.ZYBo;
import jzqb.common.Result;
import jzqb.service.ZYService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@CrossOrigin
@RequestMapping("/zy")
@Api(tags = "情报自用")
public class ZYController {

    @Autowired
    ZYService zyService;

    /**
     * sysID 查询情报成果详情
     */
    @PostMapping("/getZyDetail")
    public Result getResultDetail(@RequestBody ZYBo zyBo) {
        Result result = zyService.getZyDetail(zyBo);
        return result;
    }

}
